@layout("/common/_container.html",{title:"Change password",bg:"bg-white",js:["/assets/modular/frame/password.js"]}){
<div class="layui-form model-form" id="form-psw">
    <div class="layui-form-item" style="text-align: center;">
        <span style="font-weight: bold; color: red;"> The password must be between 6 and 12 characters and must include both letters and numbers
 </span>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">original password :</label>
        <div class="layui-input-block">
            <input type="password" name="oldPassword" placeholder="Please enter the original password" class="layui-input"
                   lay-verType="tips" lay-verify="required" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">new password
            :</label>
        <div class="layui-input-block">
            <input type="password" name="newPassword" placeholder="Please enter the new password
" class="layui-input"
                   lay-verType="tips" lay-verify="required|psw" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">confirm password
            :</label>
        <div class="layui-input-block">
            <input type="password" name="repeatPassword" placeholder="Please enter the new password again" class="layui-input"
                   lay-verType="tips" lay-verify="required|repsw" required/>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block text-right">
            <button class="layui-btn" lay-filter="submit-psw" lay-submit>Save</button>
            <button class="layui-btn layui-btn-primary" type="button" ew-event="closeDialog">Cancel</button>
        </div>
    </div>
</div>
@}
